Produced by Araxis Merge on 2023-03-13 03:01:04 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Porto v4.0.4/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/category | banner.phtml | 2016-05-04 09:41:40 +0000 |
| 2 | Porto v4.0.5/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/category | banner.phtml | 2023-03-06 04:43:43 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 16 |
| Changed | 0 | 0 |
| Inserted | 1 | 16 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php | 1 | <?php | |||
| 2 | $_category_desc = $this->helper('Smartwave\Porto\Helper\Data')->getConfig('porto_settings/category/category_description'); | 2 | $_category_desc = $this->helper('Smartwave\Porto\Helper\Data')->getConfig('porto_settings/category/category_description'); | |||
| 3 | ?> | 3 | ?> | |||
| 4 | <?php if ($_category_desc == "full_width" && $_description = $block->getCurrentCategory()->getDescription()): ?> | 4 | <?php if ($_category_desc == "full_width" && $_description = $block->getCurrentCategory()->getDescription()): ?> | |||
| 5 | <div class="category-description no-margin"> | 5 | <div class="category-description no-margin"> | |||
| 6 | <?php echo $this->helper('Magento\Catalog\Helper\Output')->categoryAttribute($block->getCurrentCategory(), $_description, 'description') ?> | 6 | <?php echo $this->helper('Magento\Catalog\Helper\Output')->categoryAttribute($block->getCurrentCategory(), $_description, 'description') ?> | |||
| 7 | </div> | 7 | </div> | |||
| 8 | <script type="text/javascript"> | |||||
| 9 | require([ | |||||
| 10 | 'jquery' | |||||
| 11 | ], function ($) { | |||||
| 12 | var resizeDesc = function(){ | |||||
| 13 | var $d_h = $('.page-wrapper .category-description').height(); | |||||
| 14 | $('body:not(.cms-index-index) .page-wrapper > .breadcrumbs + .page-main > .page-main-inner > .sidebar-nav').css({ | |||||
| 15 | 'margin-top': -$d_h | |||||
| 16 | }); | |||||
| 17 | } | |||||
| 18 | resizeDesc(); | |||||
| 19 | $(window).resize(function(){ | |||||
| 20 | resizeDesc(); | |||||
| 21 | }); | |||||
| 22 | }); | |||||
| 23 | </script> | |||||
| 8 | <?php endif; ?> | 24 | <?php endif; ?> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.